
html, body {
    height: 100%;
}

body {
    background-color: #f0f2f5;
    height: 100vh;
    display: grid;
    place-content: center;
    background: linear-gradient(90deg, #060a3f 0%, #2b60d7 100%);
    overflow: hidden;
}

#msg{
    text-align: center;
    margin-bottom: 20px;
    color: red;
}
.ai-enter:before {
    content: "\e766";
}

.login-wrap {
    display: table;
    width: 100%;
}

.login-container {
    width: 100%;
    display: table-cell;
    vertical-align: middle;
}

.login-form {
    width: 320px;
    padding: 40px 30px;
    margin: 0 auto;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.login-form .input-group {
    position: relative;
    width: 100%;
    padding: 10px;
    vertical-align: top;
    box-sizing: border-box;
}

.login-form .input-group .input-field {
    position: relative;
    width: 100%;
    margin-top: 10px;
    padding: 10px 3px;
    color: #555;
    font-size: 15px;
    display: block;
    border: none;
    z-index: 1;
    background-color: transparent;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.login-form .input-group .input-label {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 0 5px;
    font-size: 14px;
    margin-bottom: 0;
    text-align: left;
    cursor: text;
    display: inline-block;
    box-sizing: border-box;
}

.login-form .input-group .input-label > .label-title {
    padding: 22px 8px;
    color: #5d6779;
    display: block;
}

.login-form .input-group .input-label:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 10px);
    border-bottom: 1px solid #e5e5e5;
}

.login-form .input-group .input-field:focus {
    outline: none;
}

.login-form .input-group .input-field:focus + .input-label > .label-title,
.input-group.field-focus .input-label > .label-title {
    -webkit-animation: fieldUp 0.3s forwards;
    animation: fieldUp 0.3s forwards;
    font-size: 12px;
    color: #ccc;
}

.login-button {
    position: relative;
    margin-top: 20px;
    display: block;
    width: 100%;
    padding: 8px;
    background-color: #29adeb;
    background-repeat: repeat-y;
    background-image: -moz-linear-gradient(left, #29adeb, #177ce3);
    background-image: -webkit-linear-gradient(left, #29adeb, #177ce3);
    background-image: -o-linear-gradient(left, #29adeb, #177ce3);
    background-image: linear-gradient(left, #29adeb, #177ce3);
    box-shadow: 0px 7px 10px 0px rgba(23, 124, 227, 0.25);
    text-align: center;
    border-radius: 3px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: padding-right .4s ease;
}

.login-button:focus {
    outline: none;
}

@-webkit-keyframes fieldUp {
    50% {
        opacity: 0;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}
